<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="group9.User" %>
<html>

<!-- Claudio Herreros, Dylan James, Tyler Berg -->

<% 
	User user = (User)session.getAttribute("User");

	if (user == null)
	{
		response.sendRedirect("login.html");
	}
%>
	<head>
		<link rel="stylesheet" type="text/css" href="styles.css" title="Style 1" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><%= user.getUserName() %>'s Home Page</title>
	</head>
	<body>
		<h1>Welcome, <%= user.getFullName() %></h1> <span align="right">
		<a href="/SignOut" class="Signout">SignOut</a></span>
		<br/>
		<hr />
		<p><a href="/ChangePassword.jsp">Change Password</a></p>
		<p><a href="/MyUserStories.jsp">My User Stories</a></p>
		<p><a href="/AddUserStory.jsp">Add User Story</a></p>
		<hr/>
	</body>
</html>
